home *** CD-ROM | disk | FTP | other *** search
- <html>
- <head>
-
-
- <script language="JavaScript">
- <!--
-
- if (document.images) {
-
- // Preload rollover images
- nav2a = new Image(78,18);
- nav2a.src = "/images/addIP_b.jpg";
- nav4a = new Image(78,18);
- nav4a.src = "/images/addIP_b.jpg";
-
- // Preload rolloff images
- nav2 = new Image(78,18);
- nav2.src = "/images/addIP_g.jpg";
- nav4 = new Image(78,18);
- nav4.src = "/images/addIP_g.jpg";
-
-
- }
-
- // function for rollover
- function msover(imgName) {
- if (document.images[imgName]) {
- document.images[imgName].src = eval(imgName + "a.src");
- }
- }
-
- // function for rollout
- function msout(imgName) {
- if (document.images[imgName]) {
- document.images [imgName].src = eval(imgName + ".src");
- }
- }
-
- // -->
- </script>
-
-
-
- <%
- UserName = Request.ReqParam("name")
- if UserName = "" then
- UserName = Request.ReqParam("UName")
- End If
- command = Request.ReqParam("action")
- if command = "Allow" Then
- Accounts.UserAccessType(UserName) = False
- Path = "/Services/EditUserAccess.agp?name="+UserName
- Response.Redirect(Path)
- end if
-
- if command = "Deny" Then
- Accounts.UserAccessType(UserName) = True
- Path = "/Services/EditUserAccess.agp?name="+UserName
- Response.Redirect(Path)
- end if
- %>
- <meta NAME="Author,Design" Content="GateKeeper Team; gatekeeper@infopulse.net">
- <meta NAME="Copyright" Content="Infopulse; www.infopulse.net">
- <title>Empty</title>
- </head>
-
- <body bgcolor="#FFFFFF" text="#000000">
- <table border="0" cellpadding="0" cellspacing="1" width="100%">
- <tr valign=top>
- <td width="100%" valign=top align=right>
- <a href="EditUserFilter.agp?name=<%Response.Write(UserName)%>&NewFilter=1" onMouseOver="msover('nav2')" onMouseOut="msout('nav2')"><img
- src="/images/addIP_g.jpg" width="220" height="24" alt="Add new IP filter" name=nav2 border=0></a>
- </td>
- </tr>
- </table>
-
-
- <p><big><strong><font face="Arial">
- Restrictions for user <%Response.Write(UserName)%>
- </font></strong></big></p>
- <div>
- <table border="1" cellpadding="0" cellspacing="0" width="100%">
- <tr>
- <%
- if Accounts.UserAccessType(UserName) then
- msg = "DENY access from all IP addresses, except these"
- else
- msg = "ALLOW access from all IP addresses, except these"
- end if
- %>
-
- <td width="80%" bgcolor="#183159"><strong><font face="Arial" color="#FFFFFF">
- <%Response.Write(msg)%>
- </font></strong></td>
- <td align="center" width="20%" bgcolor="#183159"><strong><font face="Arial" color="#FFFFFF">
- Action
- </font></strong></td>
- </tr>
- <%Response.Write(Accounts.UserFilterList(UserName))%>
- </table></div>
- <br>
- <table border="0" cellpadding="0" cellspacing="1" width="100%">
- <tr valign=top>
- <td width="100%" valign=top align=left>
- <a href="EditUserFilter.agp?name=<%Response.Write(UserName)%>&NewFilter=1" onMouseOver="msover('nav4')" onMouseOut="msout('nav4')"><img
- src="/images/addIP_g.jpg" width="220" height="24" alt="Add new IP filter" name=nav4 border=0></a>
- </td>
- </tr>
- </table>
- <br>
- <form method="POST" action= "EditUserAccess.agp">
- <font face="Arial">
- <input type="hidden" name="UName" value="<%Response.Write(UserName)%>">
- Press this button in order to
- <%
- if Accounts.UserAccessType(UserName) then
- %>
- <input type="submit" name="action" value="Allow">
- <%
- else
- %>
- <input type="submit" name="action" value="Deny">
- <%
- end if
- %>
- access from all IP adresses except those listed above.</font>
- </form>
-
- <font size="1" face="Arial"><%Response.Write(GateKeeper.Version)%></font>
- </body>
- </html>
-